package me.macd.mindoc.model;

import java.util.Date;

public class Logs {
    private Long logId;

    private Integer memberId;

    private String category;

    private Date createTime;

    private String userAgent;

    private String ipAddress;

    public Logs(Long logId, Integer memberId, String category, Date createTime, String userAgent, String ipAddress) {
        this.logId = logId;
        this.memberId = memberId;
        this.category = category;
        this.createTime = createTime;
        this.userAgent = userAgent;
        this.ipAddress = ipAddress;
    }

    public Logs() {
        super();
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent == null ? null : userAgent.trim();
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress == null ? null : ipAddress.trim();
    }
}